using AnhAnh;
using AutoSales;
using System;
using System.Windows.Forms;

internal static class Class5
{
	[STAThread]
	private static void Main()
	{
		if (Anh.AnotherInstance())
		{
			UI.ShowMessage("Another instance is running", Application.ProductName, UI.MessageType.Warning);
			return;
		}
		try
		{
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			Application.Run(new FormMain());
		}
		catch (Exception exception)
		{
			UI.ShowMessage(exception, true);
		}
	}
}